<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
    <head>
        <title>修改品牌</title>
    </head>
    <body>
        <h3>修改品牌</h3>
        <form action="/day28_brand/BrandServlet" method="get">
            <%--隐藏字段：--%>
            <input type="hidden" name="action" value="updateBrand">
            <input type="hidden" name="id" value="${brand.id}">
            品牌名称：<input name="brandName" value="${brand.brandName}"><br>
            企业名称：<input name="companyName" value="${brand.companyName}"><br>
            排序：<input name="ordered" value="${brand.ordered}"><br>
            描述信息：<textarea rows="5" cols="20" name="description">${brand.description}</textarea><br>
            状态：
                <input type="radio" name="status" value="0" <c:if test="${brand.status==0}">checked="checked"</c:if>>禁用
            <input type="radio" name="status" value="1"  <c:if test="${brand.status==1}">checked="checked"</c:if>>启用<br>

            <input type="submit" value="修改">
        </form>
    </body>
</html>
